package modeling_platfrom_remote

type UserResponses struct {
	Data    UserList `json:"data"`
	Success bool     `json:"success"`
	Message string   `json:"message"`
}

type UserList struct {
	TotalCount int32      `json:"TotalCount"`
	UserList   []UserInfo `json:"UserList"`
}

type UserInfo struct {
	UserId      int64  `json:"user_id"`
	UserGuid    string `json:"UserGUID"`
	MobilePhone string `json:"MobilePhone"`
	UserName    string `json:"UserName"`
	UserCode    string `json:"UserCode"`
	IsDisable   bool   `json:"IsDisabled"`
	Password    string `json:"Password"`
	BuGuid      string `json:"BuGuid"`
}

type GetUserActionRightInfosResponses struct {
	Data      []*UserActionRightInfos `yaml:"data"`
	Success   bool                    `yaml:"success"`
	Message   string                  `yaml:"message"`
	Exception string                  `yaml:"exception"`
	//Code      interface{} `yaml:"code"`
}

type UserActionRightInfos struct {
	FunctionCode string `yaml:"FunctionCode"`
	ActionCode   string `yaml:"ActionCode"`
	Application  string `yaml:"Application"`
}

type GetPageUser2RolesResponses struct {
	Data    PageUser2RolesData `yaml:"data"`
	Success bool               `yaml:"success"`
	Message string             `yaml:"message"`
	//Exception interface{} `yaml:"exception"`
	//Code      interface{} `yaml:"code"`
}
type User2RoleList struct {
	OrganizationID string `yaml:"OrganizationID"`
	MyUser2RoleID  string `yaml:"MyUser2RoleId"`
	UserID         string `yaml:"UserID"`
	RoleID         string `yaml:"RoleID"`
	RefType        int32  `yaml:"RefType"`
}
type PageUser2RolesData struct {
	TotalCount    int32           `yaml:"TotalCount"`
	User2RoleList []User2RoleList `yaml:"User2RoleList"`
}
